package com.gljx.web.dao;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.gljx.web.Entity.Oilspec;
import org.springframework.stereotype.Component;

@Component
public interface OilspecMapper {
    int deleteByPrimaryKey(String fid);

    int insert(Oilspec record);

    int insertSelective(Oilspec record);

    Oilspec selectByPrimaryKey(String fid);

    int updateByPrimaryKeySelective(Oilspec record);

    int updateByPrimaryKey(Oilspec record);

    List<Oilspec>selectOilsperByFcontrolunitid(String companyId);

    List<Oilspec>selectOilsperByFcontrolunitidAndFnameL2(Map<String, String>map);

    String selectFnumber(String companyId);

    List<Oilspec> selectOilsperAll();

    List<Oilspec> selectOilsperByName(@Param("fnameL2") String fnameL2);
}